package com.lovo.bbs.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_student
 */
@TableName(value ="t_student")
@Data
public class Student implements Serializable {
    /**
     * 
     */
    @TableId(value = "s_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "s_name")
    private String name;

    /**
     * 
     */
    @TableField(value = "s_gender")
    private String gender;

    /**
     * 
     */
    @TableField(value = "s_age")
    private Integer age;

    @TableField(value = "s_c_id")
    private Integer classId;

    @TableField(value = "s_head")
    private String head;

    @TableField(exist = false)
    private Classz classz;
    /**
     * 
     */
//    private Classz classz;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}